package me.hellp.helloworld.design.decorator;

/**
 * 装饰者抽象类
 * 
 * 持有一个将要被装饰的接口对象的实例
 * 
 * @author linxm
 *
 */
public abstract class Decorator implements People{
	//	持有被装饰对象的实例
	private People people;
	
    public Decorator(People people) {
        this.people = people;
    }
    
	@Override
	public void wear() {
		people.wear();
	}

}
